package comparetor;

import java.util.Comparator;

import pojo.Customer;

public class CustomerComparetorByBirth implements Comparator<Customer> {

	public int compare(Customer o1, Customer o2) {
		
		return o1.getBirth().compareTo(o2.getBirth());
	}

}
